package com.lagou.homework.domain;

import java.util.List;

//文章
public class Tarticle {

    private Integer id;
    private String title;
    private String content;
    public List<Tcomment> tcommentList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Tcomment> getTcommentList() {
        return tcommentList;
    }

    public void setTcommentList(List<Tcomment> tcommentList) {
        this.tcommentList = tcommentList;
    }

    @Override
    public String toString() {
        return "T_article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", tcommentList=" + tcommentList +
                '}';
    }
}
